package syntaxtree;
import visitor.IRTreeCreator;
import visitor.Visitor;
import visitor.TypeVisitor;

public class BooleanType extends Type {
	public void accept(Visitor v) {
		v.visit(this);
	}

	public Type accept(TypeVisitor v) {
		return v.visit(this);
	}

	@Override
	public String whichType() {
		return new String("boolean");
	}

	public tree.Exp accept(IRTreeCreator v) {
		return v.visit(this);
	}


}
